const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  visitedViews: state => state.tagsView.visitedViews,
  cachedViews: state => state.tagsView.cachedViews,
  userInfo: state => state.user.userInfo,
  appInfo:state=>state.user.appInfo,
  avatar: state => state.user.avatar,
  roles: state => state.user.roles,
  datagrid:state=>state.permission.datagrid,
  curdpage:state=>state.permission.curdpage,
  userSetting:state=>state.permission.userSetting,
  permission_routes: state => state.permission.routes,
  name: state => state.user.name,
  errorLogs: state => state.errorLog.logs
}
export default getters
